# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=rime-emoji
pkgver=0.0.0.20230825
_commit=d71cde64b01b411e22d7b39cbbb4bfd7ecf53796
pkgrel=1
pkgdesc="Emoji support for rime"
arch=('any')
url="https://github.com/rime/rime-emoji"
license=('LGPL')
makedepends=('git')
source=("git+https://github.com/rime/rime-emoji.git#commit=$_commit")
sha512sums=('SKIP')

package() {
  cd $pkgname
  install -Dm644 emoji_suggestion.yaml -t "$pkgdir"/usr/share/rime-data/
  install -Dm644 opencc/* -t "$pkgdir"/usr/share/rime-data/opencc/
}
